@import "@/styles/custom.scss";
.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.group {
  flex: 3;
  width: 0;
  height: 100%;
  padding: 0 15px;
  margin-right: 10px;
  background: #ffffff;
  border-radius: 5px;
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    font-family: PingFangSC-bold;
    line-height: 50px;
    color: rgb(84 188 189 / 100%);
    text-align: left;

    // border-bottom: 1px solid rgb(206 206 206 / 100%);
    .handler {
      display: flex;
      align-items: center;
      .showCode {
        display: flex;
        align-items: center;
        font-size: 12px;
        .showCodeLabel {
          margin-left: 5px;
        }
      }
    }
  }
  .table-box {
    box-sizing: border-box;
    width: 100%;
    height: calc(100% - 50px);
    padding: 10px 0;
    overflow-y: auto;
  }
}
.main {
  display: flex;
  flex: 4;
  flex-flow: column;
  width: 0;
  height: 100%;
  background: #ffffff;
  border-radius: 5px;
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 15px;
    font-family: PingFangSC-bold;
    line-height: 50px;
    color: $group-color;
    text-align: left;
    border-bottom: 1px solid rgb(206 206 206 / 100%);
    .refresh {
      display: flex;
      align-items: center;
      font-size: 12px;
      cursor: pointer;
    }
  }
  .table-box {
    box-sizing: border-box;
    display: flex;
    flex: 1;
    flex-flow: column;
    width: 100%;
    padding: 0 10px;
    .tabs {
      box-sizing: border-box;
      display: flex;
      flex-flow: column;
      height: 100%;
      padding-bottom: 20px;
      :deep(.el-tabs__content) {
        flex: 1;
        .el-tab-pane {
          height: 100%;
          overflow-y: auto;
        }
      }
    }
    .roomList {
      display: grid;
      flex: 1;
      grid-template-rows: repeat(auto-fill, 200px);
      grid-template-columns: repeat(auto-fill, 120px);
      grid-gap: 20px;
      width: 100%;
      height: 0;
      padding: 0 0 20px;
      overflow: auto;
      .room {
        box-sizing: border-box;
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        width: 120px;
        height: 200px;
        padding: 10px;
        margin: 0 auto;
        border: 1px solid #eeeeee;
        border-radius: 10px;
        .roomHeader {
          display: flex;
          align-items: center;
          justify-content: space-between;
          font-size: 12px;
          color: #ffffff;
          .roomHeader__con {
            display: flex;
            align-items: center;
          }
        }
        .door {
          position: relative;
          box-sizing: border-box;
          display: -webkit-box;
          width: 100px;
          height: 120px;
          padding: 20px 10px 0;
          margin: 10px auto;
          overflow: hidden;
          overflow: initial;
          font-size: 14px;
          line-height: 1.5;
          color: #ffffff;
          text-align: center;
          text-overflow: ellipsis;
          border: 1px solid #ffffff;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          .doorInner {
            position: absolute;
            top: 0;
            left: 0;
            box-sizing: border-box;
            width: 96px;
            height: 118px;
            border: 1px solid #ffffff;
            transform-origin: left;
            .doorNo {
              padding: 20px 0 0;
              margin: 0 auto;
            }
            .doorHandler {
              position: absolute;
              top: 56%;
              right: 5px;
              width: 6px;
              height: 6px;
              background: var(--el-color-danger);
              border: 1px solid #ffffff;
              border-radius: 50%;
            }
          }
          .doorInner_open {
            transform: rotateY(10deg) skewY(3deg);
            .doorHandler {
              background: var(--el-color-success);
            }
          }
        }
      }
      .room_2 {
        background: var(--el-color-primary);
        opacity: 0.7;
      }
      .room_1 {
        background: var(--el-color-error);
        opacity: 0.7;
      }
      .room_0 {
        background: var(--el-color-info);
        opacity: 0.7;
      }
    }
    .footer {
      box-sizing: border-box;
      display: flex;
      justify-content: flex-end;
      width: 100%;
      padding: 0 10px 10px;
      border-top: 1px solid #eeeeff;
    }
  }
}
.searchBtn {
  margin-left: 20px;
}
.downloadExe {
  color: var(--el-color-danger);
  cursor: pointer;
}
.userCardInfo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  margin-bottom: 10px;
  .userCardInfo__avatar {
    width: 90px;
    height: 90px;
    margin-right: 10px;
    margin-bottom: 18px;
    background: #eeeeee;
    border: 1px solid #eeeeee;
    border-radius: 50%;
  }
  .userCardInfo__con {
    flex: 1;
  }
}
.printInfo {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  margin-bottom: 20px;
  .printInfo__title {
    width: 100%;
    padding: 10px 0;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
  }
}
.noData {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 0;
  font-size: 14px;
  color: #666666;
  text-align: center;
}
.tableItem {
  width: 100%;
  height: 100%;
}
